
<!DOCTYPE html>
<!-- saved from url=(0041)http://c.tsz90.com/home/user/view/id/3484 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <title>任务商店</title>
    <link rel="shortcut icon" href="http://c.tsz90.com/home/user/view/id/clientapp/images/new_images/favicon.ico">
    <link href="__PUBLIC__/css/reset_5.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="__PUBLIC__/css/font-awesome.min.css">
    <link href="__PUBLIC__/css/new_style.css" rel="stylesheet" type="text/css">
    <!-- 弹出层 -->
    <link rel="stylesheet" href="/css/dialog.css">
    <script src="__PUBLIC__/js/jquery-2.0.3.min.js.下载"></script>
    <script src="__PUBLIC__/js/dialog.js.下载"></script>
    <!-- 弹出层 -->
    <script type="text/javascript" src="__PUBLIC__/js/clipboard.min.js.下载"></script>
    <script type="text/javascript" src="__PUBLIC__/js/global.js.下载"></script>


    <style type="text/css">
        .paging {
            padding: 30px 0;
        }
        .data_red_bg{
            display:block;
            background: #4a90fc;
            color:#fff;
            padding:0px 11px 0;
            position:relative;
        }
        .data_red_bg_cont{
            border-bottom:1px solid #4a90fc;
            padding:0 0 16px 0;
        }
        .data_red_bg .data_img{
            float:left;
            padding: 0 10px 0 10px;
            width:70px;
            height:53px;

        }
        .data_img img{
            width:100%;
            height:100%;
            border-radius:100%;
            border:1px solid;
        }
        .data_infor{
            position:relative;
        }
        /* infor */
        .data_infor_wrapper{
            float:left;
            position:relative;
        }
        .data_use_name{
            float:left;
            max-width:142px;
            font-size:15px;
            line-height:30px;
            color:#fff;
            margin-right:16px;
            text-overflow:ellipsis;
            overflow:hidden;
            white-space:nowrap;
        }
        .data_infor_title,.data_all{
            font-size:11px;
            line-height:24px;
            color:#fff;
        }
        .data_all span{
            display:inline-block;
            color:#fff;
            width:1.8rem;
            font-size:11px;
            text-align:center;
        }

        /* top相关操作按钮   */
        .top_btn_one_wrap,.top_btn_two_wrap{
            position:absolute;
            top:14.5px;
            right:21px;
        }
        .top_btn_two_wrap{
            top:14.5px;
        }
        .top_btn_each{
            width:50px;
            height:20px;
            border:1px solid #fff;
            text-align:center;
            font-size:13px;
            line-height:20px;
            border-radius:20px;
            cursor:pointer;
            margin:3px 0;
        }
        .top_btn_each_2{
            width:72px;
        }
        /* 相关状态信息   */
        .user_infor_wrap{
            padding:10px 11px;
            color:#fff;
            background-color:#f66364;
        }
        .each_user_infor{
            float:left;
            width:33.33%;
            font-size:13px;
            line-height:24px;
        }
        .each_infor_title{
            float:left;
            color:#ffc7c7;
            padding: 0 6px 0 4px;
        }
        .each_infor_title span{
            padding:0 20px 0 0;
        }
        .each_infor_num{
            float:left;
            color:#fff;
        }
    </style>
</head>

<body style="">
<header class="site-header header-fixed">
    <a onclick="window.history.back();" class="back"></a>
    <div class="tit-name">任务商店</div>
</header>
<div class="main inivteFriend">
    <!-- 个人头像部分-->
    <div class="data_red_bg">
        <div class="data_red_bg_cont cl">
            <div class="data_img">
                <img src="__PUBLIC__/image/15be5911c10d12bbeefbe7b7b4ef15c4.png" id="show_img" onerror="javascript:this.src=&#39;/uploads/avatar.png&#39;;" alt="用户头像">
            </div>
            <div class="data_infor_wrapper">
                <div class="data_infor cl">
                    <div class="data_use_name"> {$phone}</div>
                </div>
                <div class="data_all">
                    商号:3484&nbsp;&nbsp;&nbsp;&nbsp;
                </div>
                <div class="data_all">
                  {}
                </div>
                <div class="data_all data_all_time">
                </div>
            </div>
            <div class="top_btn_one_wrap">
                <div class="top_btn_each"  ids="{$id}" id="dian" onclick="delFollow();">+关注</div>
                <!--<div class="top_btn_each" onclick="followUser('3484');">+关注</div>-->

            </div>
        </div>
    </div>

    <!-- 相关状态信息 -->
    <!-- <div class="user_infor_wrap  cl">
        <div class="each_user_infor">
            <div class="each_infor_title">发任务</div>
            <div class="each_infor_num">2个</div>
        </div>
        <div class="each_user_infor">
            <div class="each_infor_title">接任务</div>
            <div class="each_infor_num">0单</div>
        </div>
    </div> -->

    <div class="bk10">
    </div>
    <div class="task-list">
        <div class="new-task-list">
            <ul>
                <li>
                    <div style="border-radius:5px;float:left;margin-top:0px;margin-left:10px;">
                        <img src="__PUBLIC__/image/caf58157f68ca4705830e8e0a156bc20.png" style="width:50px;">
                    </div>
                    <a href="http://c.tsz90.com/home/task/detail/id/560.html">
                        <div class="task-list-wrap">
                            <div class="task-list-title-silver">
                                <div class="task-list-title">很多哈哈动画和</div>
                            <span class="task-list-gold">
                                <span>赏</span>
                                3.00元
                            </span>
                            </div>
                            <div class="task-list-gold-silver">
                                <span class="task-list-end-time">发布时间：1970-01-01 08:00 </span>
                            </div>
                            <!-- <span class="task-list-prefix">商</span> -->
                            <span class="task-list-id">网页注册</span>
                            <span class="task-jifen">淘宝积分</span>



                        </div>
                    </a>
                </li>
                <li>
                    <div style="border-radius:5px;float:left;margin-top:0px;margin-left:10px;">
                        <img src="__PUBLIC__/image/caf58157f68ca4705830e8e0a156bc20.png" style="width:50px;">
                    </div>
                    <a href="http://c.tsz90.com/home/task/detail/id/559.html">
                        <div class="task-list-wrap">
                            <div class="task-list-title-silver">
                                <div class="task-list-title">测试注册</div>
                            <span class="task-list-gold">
                                <span>赏</span>
                                1.00元
                            </span>
                            </div>
                            <div class="task-list-gold-silver">
                                <span class="task-list-end-time">发布时间：1970-01-01 08:00 </span>
                            </div>
                            <!-- <span class="task-list-prefix">商</span> -->
                            <span class="task-list-id">网页注册</span>
                            <span class="task-jifen">拼多多积分</span>



                        </div>
                    </a>
                </li>
            </ul>
        </div>
        <!-- <div class="paging" style="display: block;">
            <span class="paging-prev">上一页</span>
            <span class="paging-num-total">
                    <select name="page" class="paging-selct">
                                                        <option value="1">1</option>
                                                    </select>
                </span>
            <span class="paging-next" data-page="1">下一页</span>
            <form id="page_form">
                <input type="hidden" name="page" value="1">
            </form>
        </div> -->
    </div>
</div>

<footer>
    <div class="container">
        <ul>
            <li>
                <a href="http://c.tsz90.com/home/index.html">
                    <img src="__PUBLIC__/image/footer01_off.png" alt="">
                    <p>首页</p>
                </a>
            </li>
            <li>
                <a href="http://c.tsz90.com/home/task/task_all">
                    <img src="__PUBLIC__/image/footer02_off.png" alt="">
                    <p>任务大厅</p>
                </a>
            </li>
            <li>
                <a href="http://fanli.houtianbest.cn/index.php/m">
                    <img src="__PUBLIC__/image/footer03_off.png" alt="">
                    <p>商城</p>
                </a>
            </li>
            <li>
                <a href="http://c.tsz90.com/home/account.html">
                    <img src="__PUBLIC__/image/footer04_off.png" alt="">
                    <p>我的</p>
                </a>
            </li>
        </ul>
    </div>
</footer>

<link rel="stylesheet" href="__PUBLIC__/css/style(1).css">

<script type="text/javascript" src="/js/mytask.js.下载"></script>
<script type="text/javascript">
//    function delFollow(){
//        alert(1);
//    }
//    var saveFlag = "0";
//    function followUser(){
////        if(saveFlag == '1'){
////            return false;
////        }
////        saveFlag = "1";
//        var id=$('#dian').attr('ids');
//        alert(id);
//
//        $.post('/index/index/cancel', {id: id}, function(res) {
//            message(res.message,res.redirect,res.type);
//
//        },'json');
//    }
$(function(){
    locations();
})
function locations(){
      var id={$id};
    $.post('__PUBLIC__/index/index2/location', { id: id}, function(res) {
              if(res.msg=='关注'){

                  $('.top_btn_each').text('+关注');
              }else{
                  $('.top_btn_each').text('取消');
              }
    },'json');

}

    function delFollow(){

//        if(saveFlag == '1'){
//            return false;
//        }
//        saveFlag = "1";
        var id=$('#dian').attr('ids');

  alert(id);
        $.post('__PUBLIC__/index/index2/cancel', { id: id}, function(res) {
//            message(res.message,res.redirect,res.type);
            alert(res.message);
    if(res.message=='关注成功'){
        $('.top_btn_each').text('取消');
    }
            if(res.message=='取消关注成功'){
                $('.top_btn_each').text('+关注');
            }




        },'json');
    }

</script>




<div id="qb-sougou-search" style="display: none; opacity: 0;"><p>搜索</p><p class="last-btn">复制</p><iframe src="__PUBLIC__/static/saved_resource.html"></iframe></div></body></html>